package model.gastos;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class TEMTest {
	
	private TEM tem;

	@Before
	public void setUp() throws Exception {
		this.tem=new TEM(12.5);
	}
	
	@Test
	public void testGetPorcentaje(){
		assertEquals(this.tem.getPorcentaje(),12.5,0.000000001);
	}
	
	@Test
	public void testGetValorDecimalReal(){
		assertEquals(this.tem.getValorDecimalReal(),0.125,0.000000001);
	}

}
